package cn.toys.modular.mapper;

import cn.toys.modular.entity.CompanyInfo;
import cn.toys.modular.entity.CompanyInfoExample;
import java.util.List;

import cn.toys.modular.model.CompanyDto;
import org.apache.ibatis.annotations.Param;

public interface CompanyInfoMapper {

    List<CompanyDto> queryCompanyList(CompanyDto companyDto);

    long countByExample(CompanyInfoExample example);

    int deleteByExample(CompanyInfoExample example);

    int insert(CompanyInfo record);

    int insertSelective(CompanyInfo record);

    List<CompanyInfo> selectByExampleSelective(@Param("example") CompanyInfoExample example, @Param("selective") CompanyInfo.Column ... selective);

    CompanyInfo selectOneByExample(CompanyInfoExample example);

    CompanyInfo selectOneByExampleSelective(@Param("example") CompanyInfoExample example, @Param("selective") CompanyInfo.Column ... selective);

    List<CompanyInfo> selectByExample(CompanyInfoExample example);

    int updateByExampleSelective(@Param("record") CompanyInfo record, @Param("example") CompanyInfoExample example);

    int updateByExample(@Param("record") CompanyInfo record, @Param("example") CompanyInfoExample example);
}